// 提前批填报列表首页每列数据
export const tableColumn = {
  haveSelection: true, //是否开启多选
  haveOperation: {
    show: true, //是否有操作按钮
    fixed: 'right', //是否固定
    title: '填报',
  },

  serialConfig: {
    show: false, //是否显示序号
    width: 70,
  },
  props: [
    {
      prop: 'gkaProvinceName',
      label: '省份',
      width: '',
      formatter: '', //formatter 可以使用字典里面的Json可以使用函数可以使用对象
    },
    {
      prop: 'studentName',
      label: '姓名',
      width: '150',
      slot: 'studentName',
    },
    {
      prop: 'student.sex',
      label: '性别',
      width: '',
      formatter: {
        0: '男',
        1: '女',
        default: '未知',
      },
    },
    {
      prop: 'studentMobile',
      label: '手机号',
      width: '150',
    },
    {
      prop: 'student.graduate_time',
      label: '高考年份',
      width: '',
    },
    {
      prop: 'grade',
      label: '成绩',
      width: '300',
      slot: 'grade',
    },
    {
      prop: 'teacher',
      label: '老师',
      width: '300',
      slot: 'teacher',
    },
    {
      prop: 'creationTime',
      label: '创建时间',
      width: '300',
    },

    {
      prop: 'orderStatus',
      label: '状态',
      width: '',
      formatter: {
        1: '已处理',
        2: '已审核',
        3: '已完成',
        0: '待处理',
      },
    },
    {
      prop: 'zyTableCount',
      label: '报告',
      width: '',
      fixed: 'right',
    },
    {
      prop: 'zyTableCommonCount',
      label: '志愿表',
      width: '130',
      fixed: 'right',
      slot: 'zyTableCommonCount',
    },
  ],
  pagination: {
    show: true, //是否展示分页
    pageSizes: [10, 20, 30, 40, 50],
    layout: 'total, sizes, prev, pager, next, jumper',
  },
};
